/// orderTypeName : "1"
/// orderCreateTypeName : "常规"
/// monthPayTypeName : "按商品收款"
/// unMonthPayTypeName : "按商品收款"
/// name : "菜谱点餐"
/// orderType : 1
/// orderCreateType : 1
/// monthPayType : 1
/// unMonthPayType : 1
/// isAllowPrice : 1
/// isCancel : 1
/// isRefund : 0
/// cancelPasswd : "1234"
/// refundPasswd : "3456"
/// status : 0
/// isDel : 0
/// remark : null
/// branchId : 1000
/// tenantId : 1000
/// saasId : 1000
/// id : 1
/// createdBy : "0"
/// createdDate : null
/// updatedBy : "0"
/// updatedDate : null

class OrderModelListData {
  OrderModelListData({
      String? orderTypeName,
      String? orderCreateTypeName,
      String? monthPayTypeName,
      String? unMonthPayTypeName,
      String? name,
      int? orderType,
      int? orderCreateType,
      int? monthPayType,
      int? unMonthPayType,
      int? isAllowPrice,
      int? isCancel,
      int? isRefund,
      String? cancelPasswd,
      String? refundPasswd,
      int? status,
      int? isDel,
      dynamic remark, 
      int? branchId,
      int? tenantId,
      int? saasId,
      int? id,
      String? createdBy,
      dynamic createdDate, 
      String? updatedBy,
      dynamic updatedDate,}){
    _orderTypeName = orderTypeName;
    _orderCreateTypeName = orderCreateTypeName;
    _monthPayTypeName = monthPayTypeName;
    _unMonthPayTypeName = unMonthPayTypeName;
    _name = name;
    _orderType = orderType;
    _orderCreateType = orderCreateType;
    _monthPayType = monthPayType;
    _unMonthPayType = unMonthPayType;
    _isAllowPrice = isAllowPrice;
    _isCancel = isCancel;
    _isRefund = isRefund;
    _cancelPasswd = cancelPasswd;
    _refundPasswd = refundPasswd;
    _status = status;
    _isDel = isDel;
    _remark = remark;
    _branchId = branchId;
    _tenantId = tenantId;
    _saasId = saasId;
    _id = id;
    _createdBy = createdBy;
    _createdDate = createdDate;
    _updatedBy = updatedBy;
    _updatedDate = updatedDate;
}

  OrderModelListData.fromJson(dynamic json) {
    _orderTypeName = json['orderTypeName'];
    _orderCreateTypeName = json['orderCreateTypeName'];
    _monthPayTypeName = json['monthPayTypeName'];
    _unMonthPayTypeName = json['unMonthPayTypeName'];
    _name = json['name'];
    _orderType = json['orderType'];
    _orderCreateType = json['orderCreateType'];
    _monthPayType = json['monthPayType'];
    _unMonthPayType = json['unMonthPayType'];
    _isAllowPrice = json['isAllowPrice'];
    _isCancel = json['isCancel'];
    _isRefund = json['isRefund'];
    _cancelPasswd = json['cancelPasswd'];
    _refundPasswd = json['refundPasswd'];
    _status = json['status'];
    _isDel = json['isDel'];
    _remark = json['remark'];
    _branchId = json['branchId'];
    _tenantId = json['tenantId'];
    _saasId = json['saasId'];
    _id = json['id'];
    _createdBy = json['createdBy'];
    _createdDate = json['createdDate'];
    _updatedBy = json['updatedBy'];
    _updatedDate = json['updatedDate'];
  }
  String? _orderTypeName;
  String? _orderCreateTypeName;
  String? _monthPayTypeName;
  String? _unMonthPayTypeName;
  String? _name;
  int? _orderType;
  int? _orderCreateType;
  int? _monthPayType;
  int? _unMonthPayType;
  int? _isAllowPrice;
  int? _isCancel;
  int? _isRefund;
  String? _cancelPasswd;
  String? _refundPasswd;
  int? _status;
  int? _isDel;
  dynamic _remark;
  int? _branchId;
  int? _tenantId;
  int? _saasId;
  int? _id;
  String? _createdBy;
  dynamic _createdDate;
  String? _updatedBy;
  dynamic _updatedDate;

  String? get orderTypeName => _orderTypeName;
  String? get orderCreateTypeName => _orderCreateTypeName;
  String? get monthPayTypeName => _monthPayTypeName;
  String? get unMonthPayTypeName => _unMonthPayTypeName;
  String? get name => _name;
  int? get orderType => _orderType;
  int? get orderCreateType => _orderCreateType;
  int? get monthPayType => _monthPayType;
  int? get unMonthPayType => _unMonthPayType;
  int? get isAllowPrice => _isAllowPrice;
  int? get isCancel => _isCancel;
  int? get isRefund => _isRefund;
  String? get cancelPasswd => _cancelPasswd;
  String? get refundPasswd => _refundPasswd;
  int? get status => _status;
  int? get isDel => _isDel;
  dynamic get remark => _remark;
  int? get branchId => _branchId;
  int? get tenantId => _tenantId;
  int? get saasId => _saasId;
  int? get id => _id;
  String? get createdBy => _createdBy;
  dynamic get createdDate => _createdDate;
  String? get updatedBy => _updatedBy;
  dynamic get updatedDate => _updatedDate;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['orderTypeName'] = _orderTypeName;
    map['orderCreateTypeName'] = _orderCreateTypeName;
    map['monthPayTypeName'] = _monthPayTypeName;
    map['unMonthPayTypeName'] = _unMonthPayTypeName;
    map['name'] = _name;
    map['orderType'] = _orderType;
    map['orderCreateType'] = _orderCreateType;
    map['monthPayType'] = _monthPayType;
    map['unMonthPayType'] = _unMonthPayType;
    map['isAllowPrice'] = _isAllowPrice;
    map['isCancel'] = _isCancel;
    map['isRefund'] = _isRefund;
    map['cancelPasswd'] = _cancelPasswd;
    map['refundPasswd'] = _refundPasswd;
    map['status'] = _status;
    map['isDel'] = _isDel;
    map['remark'] = _remark;
    map['branchId'] = _branchId;
    map['tenantId'] = _tenantId;
    map['saasId'] = _saasId;
    map['id'] = _id;
    map['createdBy'] = _createdBy;
    map['createdDate'] = _createdDate;
    map['updatedBy'] = _updatedBy;
    map['updatedDate'] = _updatedDate;
    return map;
  }

}